import {V, Connection} from "x-engine";
import { X } from "x-orm";
import { Member } from "../entity/user";

@V.Controller({
    type : Connection.HTTP,
    url : "/:method",
    dataType : 'json'
})
export class HelloController{
    async hello(){
        let user = await X.query("select now()");
        console.log(user)
        return 'world';
    }
}